/*
 * Copyright (c) 2021 Futurewei Technologies, Inc.
 *
 * clang2mpl is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PSL v2. You may obtain a copy of Mulan PSL v2 at:
 *
 *     http://license.coscl.org.cn/MulanPSL2
 *
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
 * KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
 * NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the
 * Mulan PSL v2 for more details.
 */
// RUN: %clang2mpl --ascii --verify %s -- --target=aarch64-linux-elf
// RUN: cat %m | %FileCheck %s
// CHECK: LOC 2 [[# @LINE + 2 ]]{{$}}
// CHECK-NEXT: var $a u8
char a;
// CHECK: LOC 2 [[# @LINE + 2 ]]{{$}}
// CHECK-NEXT: var $a2 i8
signed char a2;
// CHECK: LOC 2 [[# @LINE + 2 ]]{{$}}
// CHECK-NEXT: var $b u8
unsigned char b;
// CHECK: LOC 2 [[# @LINE + 2 ]]{{$}}
// CHECK-NEXT: var $c i16
short c;
// CHECK: LOC 2 [[# @LINE + 2 ]]{{$}}
// CHECK-NEXT: var $d u16
unsigned short d;
// CHECK: LOC 2 [[# @LINE + 2 ]]{{$}}
// CHECK-NEXT: var $e i32
int e;
// CHECK: LOC 2 [[# @LINE + 2 ]]{{$}}
// CHECK-NEXT: var $f u32
unsigned int f;
// CHECK: LOC 2 [[# @LINE + 2 ]]{{$}}
// CHECK-NEXT: var $g i64
long long g;
// CHECK: LOC 2 [[# @LINE + 2 ]]{{$}}
// CHECK-NEXT: var $h u64
unsigned long long h;
// CHECK: LOC 2 [[# @LINE + 2 ]]{{$}}
// CHECK-NEXT: var $i f32
float i;
// CHECK: LOC 2 [[# @LINE + 2 ]]{{$}}
// CHECK-NEXT: var $j f64
double j;
// CHECK: LOC 2 [[# @LINE + 2 ]]{{$}}
// CHECK-NEXT: var $k f64
long double k;
